package com.example.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@SpringBootApplication
@ComponentScan(basePackages = { "com.baomidou.springboot.config,com.example.redis,com.example.service",
		"com.baomidou.springboot.config", "com.example.vo", "com.example.entity", "com.baomidou.springboot.controller",
		"com.baomidou.springboot.controller.*", "com.baomidou.springboot.result", "com.example.service",
		"com.example.scheduled", "com.baomidou.springboot.util", "com.baomidou.springboot.handler", "com.example.async",
		"com.example.webSocket" })
@MapperScan("com.example.mapper*")
public class ProviderApplication {
	public static void main(String[] args) {
		SpringApplication app = new SpringApplication(ProviderApplication.class);
	//	app.setAdditionalProfiles("dev");
		app.run(args);
	}
}
